﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;

namespace Glorysoft.EAP.Core
{
    [JsonArray]
   public class EAPConfiguration
    {
        /// <summary>
        /// 
        /// </summary>
        [XmlElement("Name")]
        public string Name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [XmlElement("Port")]
        public string Port { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [XmlElement("Servers")]
        public string Servers { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [XmlElement("UserName")]
        public string UserName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [XmlElement("VirtualHost")]
        public string VirtualHost { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [XmlElement("Password")]
        public string Password { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [XmlElement("Exchange")]
        public string Exchange { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [XmlElement("Queue")]
        public string Queue { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [XmlElement("QueServerTopicue")]
        public string ServerTopic { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [XmlElement("ListenTopic")]
        public string ListenTopic { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [XmlElement("Timeout")]
        public string Timeout { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [XmlElement("ConnectionType")]
        public string ConnectionType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [XmlElement("ConnectionAs")]
        public string ConnectionAs { get; set; }
    }
}
